package com.zpz.framework.zpzoauth.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.List;

/**
 * @author zhangpanzhi
 * @description 根据用户编码获取角色菜单信息--出参
 * @create 2019-07-04 15:43
 */
@ApiModel(value = "根据用户编码获取角色菜单信息--出参")
public class GetRoleMenuByUserCodeVo {
    @ApiModelProperty(value = "主键ID")
    private Integer id;

    @ApiModelProperty(value = "父ID（顶级为0）")
    private Integer parentId;

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "url")
    private String methodUrl;

    @ApiModelProperty(value = "菜单操作等级")
    private Integer level;

    @ApiModelProperty(value = "图标")
    private String icon;

    @ApiModelProperty(value = "选中图标")
    private String checkIcon;

    @ApiModelProperty(value = "菜单类型：1菜单 2按钮")
    private Integer type;

    @ApiModelProperty(value = "排序编号")
    private Integer sortCode;

    @ApiModelProperty(value = "有几级子菜单")
    private Integer childLevelsCount;

    @ApiModelProperty(value = "下级菜单的条目数量")
    private Integer nextLevelsItems;

    @ApiModelProperty(value = "权限API")
    private String accessCode;

    @ApiModelProperty(value = "菜单子集")
    private List<GetRoleMenuByUserCodeVo> childRoleMenuList;

    public String getAccessCode() {
        return accessCode;
    }

    public void setAccessCode(String accessCode) {
        this.accessCode = accessCode;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getMethodUrl() {
        return methodUrl;
    }

    public void setMethodUrl(String methodUrl) {
        this.methodUrl = methodUrl;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getCheckIcon() {
        return checkIcon;
    }

    public void setCheckIcon(String checkIcon) {
        this.checkIcon = checkIcon;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getSortCode() {
        return sortCode;
    }

    public void setSortCode(Integer sortCode) {
        this.sortCode = sortCode;
    }

    public Integer getChildLevelsCount() {
        return childLevelsCount;
    }

    public void setChildLevelsCount(Integer childLevelsCount) {
        this.childLevelsCount = childLevelsCount;
    }

    public Integer getNextLevelsItems() {
        return nextLevelsItems;
    }

    public void setNextLevelsItems(Integer nextLevelsItems) {
        this.nextLevelsItems = nextLevelsItems;
    }

    public List<GetRoleMenuByUserCodeVo> getChildRoleMenuList() {
        return childRoleMenuList;
    }

    public void setChildRoleMenuList(List<GetRoleMenuByUserCodeVo> childRoleMenuList) {
        this.childRoleMenuList = childRoleMenuList;
    }
}
